package com.ebuy.shopping.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ebuy.shopping.mapper.CommentMapper;
import com.ebuy.shopping.model.Comment;
@Service
public class CommentSevice implements ICommentService {
	@Autowired
	private CommentMapper commentMapper;

	@Override
	public List<Comment> getComments() {

		return commentMapper.selectComments();
	}

}
